//
//  ChartCell.m
//  ChartOfSsy
//
//  Created by 汤天明 on 2018/6/26.
//  Copyright © 2018年 汤天明. All rights reserved.
//

#import "ChartCell.h"

#import <AAChartView.h>
#import <AAChartModel.h>
@interface ChartCell ()
@property (weak, nonatomic) IBOutlet AAChartView *chartView;

@end


@implementation ChartCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)refreshWithChartModel:(AAChartModel *)model{
    
    [self.chartView aa_drawChartWithChartModel:model];
}
@end
